#ifndef CVQSCENENODE_H
#define CVQSCENENODE_H

/*

Custom class for graphics rendering of
Volumetric Quatroids.


#include "S3DVertex.h"
#include "ISceneNode.h"
#include "CVQVertex.h"
#include "CVolumetricQuatroid.h"
#include "CMCGlu.h"
#include "CMarCoreMaterial.h"

using namespace irr;
using namespace MarCore;
using namespace VolumetricQuatroid;

namespace MarCore
{

namespace VolumetricQuatroid
{

//! Graphics object for VQs
class CVQSceneNode : public scene::ISceneNode , public CMarCoreMaterial
{

    public:

        ///! You pass the pointer to the main gamelogic object: CVolumetricQuatroid
        /// So it can handle graphics
        //! Constructor
		CVQSceneNode(scene::ISceneNode* parent, scene::ISceneManager* mgr, s32 id,
			const core::vector3df& position,
			const core::vector3df& rotation,
			const core::vector3df& scale,
            CVolumetricQuatroid* CVQ_, CMCGlu* glu );


        //! Destructor
        ~CVQSceneNode();

        //! Register for rendering.
        void OnRegisterSceneNode();

        //! Renders the node.
        void render();

///!
        virtual const core::aabbox3d<f32>& getBoundingBox() const;

        virtual u32 getMaterialCount() const;

        virtual video::SMaterial& getMaterial(u32 i);
///!///


    private:

        video::S3DVertex vertices[4];
        core::aabbox3d<f32> Box;
        core::vector3df position;
        video::SMaterial* material;

}; //end class CVQSceneNode

}; //end namespace VolumetricQuatroid
}; //end namespace MarCore

*/

#endif

